﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AL.Entity
{

    public class Account
    {
        public string Id { get; set; }

        public string Name { get; set; }

        // HH: 自定义类别名称
        public string ClassName { get; set; }

        public string ArticleHistoryURL { get; set; }

        public string HeaderIconURL { get; set; }

        public byte[] HeaderIcon { get; set; }

        public string Introduction { get; set; }

        public bool AuthenticatedFlg { get; set; }

        public string AuthenticationContext { get; set; }

        public string QRCodeIconURL { get; set; }

        public byte[] QRCodeIcon { get; set; }

        public string QRCodePictureURL { get; set; }

        public byte[] QRCodePicture { get; set; }

        public string OpenId { get; set; }

        public string Provider { get; set; }

        public string GroupId { get; set; }

        public DateTime Created { get; set; }

        public long LastModify { get; set; }

        //public virtual Group Group { get; set; }

        public Account()
        {
            this.ArticleHistoryURL = string.Empty;
            this.AuthenticatedFlg = false;
            this.AuthenticationContext = string.Empty;
            this.GroupId = string.Empty;
            this.HeaderIcon = new byte[0];
            this.HeaderIconURL = string.Empty;
            this.Id = string.Empty;
            this.Introduction = string.Empty;
            this.Name = string.Empty;
            this.OpenId = string.Empty;
            this.Provider = string.Empty;
            this.QRCodeIcon = new byte[0];
            this.QRCodeIconURL = string.Empty;
            this.QRCodePicture = new byte[0];
            this.QRCodePictureURL = string.Empty;

            this.ClassName = string.Empty;
        }
    }

}
